const fs = require('fs');
const path = require('path');

const base = './src';
const hostname = 'localhost';
const main = 'main';
let entries = {};
let arr = fs.readdirSync(base)
	// .filter(k => k === 'home')
	.filter(k => k !== 'common');
arr.forEach((k, i) => entries[k] = './'+ path.join(base, k, k) +'.js');

module.exports = { base, entries, main, hostname };
